package com.qixin.modules.eaApplication.service;

import com.qixin.modules.ea.entity.EaEntertainReceptionActivity;
import com.qixin.modules.ea.vo.ListPageVo;
import com.qixin.modules.eaApplication.entity.EaEntertainChange;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qixin.modules.eaApplication.entity.EaHostObject;
import com.qixin.modules.eaBasic.vo.EaTaskVo;
import com.qixin.modules.eaBasic.vo.UserIdPageVo;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description: 招待费申请变更单
 * @Author: qixin-boot
 * @Date:   2021-07-06
 * @Version: V1.0
 */
public interface IEaEntertainChangeService extends IService<EaEntertainChange> {

	/**
	 * 添加一对多
	 *
	 */
	public Map<String,Object> saveMain(EaEntertainChange eaEntertainChange, List<EaHostObject> eaHostObjectList,List<EaEntertainReceptionActivity> eaEntertainReceptionActivities) ;

	/**
	 * 修改一对多
	 *
	 */
	public Map<String,Object> updateMain(EaEntertainChange eaEntertainChange, List<EaHostObject> eaHostObjectList,List<EaEntertainReceptionActivity> eaEntertainReceptionActivities);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	//查询借款单信息列表
	public Map<String,Object> list(ListPageVo listPageVo);

	//查询借款单详情
	public Map<String, Object> selectById(String id);

	//审批/退回待办
	public Map<String,Object> audit(EaTaskVo eaTaskVo);

}
